home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / ProcessClose.au3 < prev    next >
Text File  |  2006-06-17  |  156b  |  5 lines

  1. ProcessClose("notepad.exe")
  2.  
  3. $PID = ProcessExists("notepad.exe")    ; Will return the PID or 0 if the process isn't found.
  4. If $PID Then ProcessClose($PID)
  5.